/* Write your styles */
/*公共样式*/
body {
    max-width: 640px;
    min-width: 320px;
    margin: 0 auto;
    font-size: 14px;
    color: #333;
    /*background-color: #f0f0f0;*/
    font-family: Microsoft YaHei, Arial, Helvetica, sans-serif;
    line-height: 20px;
}

input {
    outline: none;
}
a,a:hover,a:focus,a:visited{
    color: #333;
}
.bg-white{
    background-color: #FFFFFF;
}

/*底部导航*/
.am-navbar-default .am-navbar-nav{
    background-color: #FFF;
    border-top:1px solid #cccccc;
}
.am-navbar-default a{
    color: #5a3a21;
}


/*商品列表strat*/
.goods-list{
    padding: 0 3px;
    width: 100%;
}
.goods-item {
    width: 50%;
    float: left;
}

.goods-box {
    margin: 3px;
    border: 1px solid #D8D8D8;
    padding-bottom: 5px;
}

.goods-box .goods-item-img {
    width: 100%;
    display: block;
    overflow: hidden;
    margin: 0px auto;
}

.goods-box .goods-item-content {
    margin: 5px;
    height: 40px;
    font-size: 12px;
    line-height: 20px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    letter-spacing: 0;
    color: #000;
}

.goods-box .goods-item-money {
    margin-left: 5px;
    font-size: 16px;
    color: #C98800;
}

.goods-box .goods-item-num {
    font-size: 13px;
    color: #aaa;
    display: block;
    float: right;
    margin-right: 5px;
}

.goods-box .goods-item-btn {
    font-size: 9px;
    display: inline-block;
    margin-left: 5px;
    padding: 0px 3px;
    line-height: 16px;
    color: #05c400;
    border: 1px solid #05c400;
    border-radius: 5px;
}
/*商品列表end*/


.am-header-default{
    background-color: #FFF;
    border-bottom: 1px solid #E7E7E7;
}
.am-header-default .am-header-title a{
    color: #2C2C2C;
}

.stylized{
    color: #038f00;
}

.num-cart{
    display: block;
    position: absolute;
    top: 0px;
    right: 30%;
    z-index: 999;
    width: 16px;
    line-height: 16px;
    height: 16px;
    font-size: 12px;
    color: #fff;
    background: #038f00;
    border-radius: 50%;
}